// 仓库路由文件
import Layout from '@/layout'
export default {
  path: '/procure',
  component: Layout,
  redirect: '/procure/procureOrder',
  name: 'procure',
  meta: { title: '采购管理', icon: 'Frame-3', routerType: 'ERP' },
  children: [
    {
      path: 'procureOrder',
      name: 'procureOrder',
      component: () => import('@/views/procure/procureOrder'),
      meta: { title: '采购订单', icon: '', anniu: 'procureOrder_list' }
    }, {
      path: 'procureOrderAdd',
      name: 'procureOrderAdd',
      hidden: true,
      component: () => import('@/views/procure/procureOrderAdd'),
      meta: { title: '新增采购订单', icon: '', anniu: 'procure_add' }
    }, {
      path: 'procureOrderEdit',
      name: 'procureOrderEdit',
      hidden: true,
      component: () => import('@/views/procure/procureOrderAdd'),
      meta: { title: '修改采购订单', icon: '', anniu: 'procure_edit' }
    }, {
      path: 'procureOrderDetail',
      name: 'procureOrderDetail',
      hidden: true,
      component: () => import('@/views/procure/procureOrderAdd'),
      meta: { title: '采购订单详情', icon: '', anniu: 'procure_detail' }
    }, {
      path: 'supplierOrder',
      name: 'supplierOrder',
      // hidden: true,
      component: () => import('@/views/procure/supplierOrder'),
      meta: { title: '供应商订单', icon: '', anniu: 'supplierOrder_list' }
    }, {
      path: 'supplierOrderDetail',
      name: 'supplierOrderDetail',
      hidden: true,
      component: () => import('@/views/procure/supplierOrderDetail'),
      meta: { title: '供应商订单详情', icon: '', anniu: 'supplier_order_detail' }
    }, {
      path: 'procureReturn',
      name: 'procureReturn',
      // hidden: true,
      component: () => import('@/views/procure/procureReturn'),
      meta: { title: '点采退货管理', icon: '', anniu: 'procureReturn_list' }
    }, {
      path: 'procureReturnDetail',
      name: 'procureReturnDetail',
      hidden: true,
      component: () => import('@/views/procure/procureReturnDetail'),
      meta: { title: '点采退货详情', icon: '', anniu: 'procurereturn_detail' }
    }, {
      path: 'procureReturnExamine',
      name: 'procureReturnExamine',
      hidden: true,
      component: () => import('@/views/procure/procureReturnDetail'),
      meta: { title: '审核点采退货', icon: '', anniu: 'procureexamine_examine' }
    }, {
      path: 'purchaseBack',
      name: 'purchaseBack',
      // hidden: true,
      component: () => import('@/views/procure/purchaseBack'),
      meta: { title: '采购退货', icon: '', anniu: 'purchaseBack_list' }
    }, {
      path: 'purchaseBackAdd',
      name: 'purchaseBackAdd',
      hidden: true,
      component: () => import('@/views/procure/purchaseBackAdd'),
      meta: { title: '新增采购退货', icon: '', anniu: 'purchaseback_add' }
    }, {
      path: 'purchaseBackDetail',
      name: 'purchaseBackDetail',
      hidden: true,
      component: () => import('@/views/procure/purchaseBackAdd'),
      meta: { title: '采购退货详情', icon: '', anniu: 'purchaseback_detail' }
    }]
}
